Skip to content

Conversation

@leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Oct 12, 2024

Currently we do monitor labels quite awkardly. First the display plug has to go via dbus to the daemon having to send color info, monitor index, label, x, y then the daemon spawns the labels and then gala looks at the window title and positions the label.

This can be made properly now by just using a wayland protocol/ setting the mutter hints on x11.

Goes with elementary/pantheon-wayland#3 and elementary/settings-display#401

Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're in the stable release phase we can add new API but we can't break old API until the next major version bump

@leolost2605
Copy link
Member Author

Ah right that is a thing oops 😅
This isn't very important just a better and slightly improved way to do it so it's obviously fine to wait
I think I'll factor out the WindowPositioner and the corresponding fix for centered windows though and prepare a separate PR for that (which, TBH, it probably should be anyway)

@leolost2605 leolost2605 added the Blocked Something else needs to be done before this can be fixed label Oct 13, 2024
@lenemter lenemter added the Conflicts Has conflicts with the target branch label Jan 18, 2025
@danirabbit
Copy link
Member

@leolost2605 is it possible to add the new API without breaking the old API so we can move forward?

@leolost2605 leolost2605 force-pushed the leolost/monitor-label-protocol branch from 9d7dc8b to 7861903 Compare March 16, 2025 15:17
@lenemter lenemter added this to OS 9 Jul 29, 2025
@lenemter lenemter moved this to Needs Review in OS 9 Jul 29, 2025
@lenemter lenemter moved this from Needs Review to In progress in OS 9 Jul 29, 2025
@leolost2605 leolost2605 force-pushed the leolost/monitor-label-protocol branch from 7861903 to b9da554 Compare November 7, 2025 20:31
@leolost2605 leolost2605 removed Blocked Something else needs to be done before this can be fixed Conflicts Has conflicts with the target branch labels Nov 7, 2025
@leolost2605 leolost2605 moved this from In progress to Needs Review in OS 9 Nov 7, 2025
@leolost2605
Copy link
Member Author

@danirabbit finally got around to updating this so it should be ready without breaking the current API :)

@leolost2605 leolost2605 force-pushed the leolost/monitor-label-protocol branch 2 times, most recently from b328a49 to b12d7b4 Compare November 7, 2025 21:06
@danirabbit danirabbit requested a review from a team November 11, 2025 16:52
@leolost2605 leolost2605 force-pushed the leolost/monitor-label-protocol branch from b12d7b4 to edaf1f9 Compare November 13, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

4 participants